# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Algorithm-Annotate/Algorithm-Annotate-0.10.ebuild,v 1.15 2007/01/14 21:58:28 mcummings Exp $

EAPI=2

inherit eutils

HOMEPAGE="http://search.cpan.org/~clkao/"
DESCRIPTION="Algorithm::Annotate - represent a series of changes in annotate form"
SRC_URI="http://alicepc100.jinr.ru/gentoo-files/${P}.tar.bz2"

SLOT="0"
KEYWORDS="amd64 x86"

DEPEND="sci-physics/ApMon_perl"

src_install() {
  insinto /etc/mlclient
  newins "${WORKDIR}/${P}/monalisa.conf" monalisa.conf || die
  newins "${WORKDIR}/${P}/perl_monalisa.pl" perl_monalisa.pl || die

  dobin "${WORKDIR}/${P}/mlclient-program" || die

  newinitd "${WORKDIR}/${P}/init.d/mlclient" mlclient
  newconfd "${WORKDIR}/${P}/conf.d/mlclient" mlclient
}
  